package com.example.lib_common.base.state

sealed class RequestEvent
//密封类，when表达式，不需要写else，因为里面就这里种情况

object Success : RequestEvent()
class Failed(val message: String) : RequestEvent()
object Loading : RequestEvent()
object Empty : RequestEvent()